﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class UP:YDYP,IUSB
    {
        public void Read()
        {
            Console.WriteLine("{0}品牌的U盘在读取数据中...", this.Brand);
        }
        public void Write()
        {
            Console.WriteLine("{0}品牌的U盘正在写入数据中...", this.Brand);
        }
        public UP(string brand) : base(brand)
        {
        }
    }
}
